package liumengbaio.lolzhangyoubao.Activity.Activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.Toast;

import liumengbaio.lolzhangyoubao.R;

public class AbouteActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_aboute);
        findViewById(R.id.data_update).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(AbouteActivity.this, "已经是最新数据版本", Toast.LENGTH_SHORT).show();
            }
        });
        findViewById(R.id.dute_noticy).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent_dute_noticy=new Intent(AbouteActivity.this,DuteNoticyActivity.class);
                startActivity(intent_dute_noticy);
            }
        });
        findViewById(R.id.zhangyoubao_simple).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent_zhangyoubao_simple=new Intent(AbouteActivity.this,BriefIndoctionActivity.class);
                startActivity(intent_zhangyoubao_simple);
            }
        });
    }
}
